str4 ='hello'+'world'
list1 ={1,2,3}+{4,5,6}
str5 ='hello' *3
strs = input('11111')
str_len =len(strs)
str_max =max(strs)
str_min =min(strs)
print('11111111:',str_max)
print('22222222:',str_min)